//
//  JZDynamicRichTextView.h
//  QuanZiChat
//
//  Created by 张洪林 on 15/11/28.
//  Copyright © 2015年 ZhongHongLin. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "JZAlbum.h"
#import "JZDynamicLikesCommentsView.h"
static const CGFloat kLZAlbumUsernameHeight=18.0f;
static const CGFloat kLZAlbumContentLineSpacing=4.0f;
static const CGFloat kLZAlbumCommentButtonWidth=25.0f;
static const CGFloat kLZAlbumCommentButtonHeight=25.0f;

@protocol JZDynamicRichTextViewDelegate <NSObject>

-(void)didCommentButtonClick:(UIButton*)button;

-(void)didSelectCommentAtIndexPath:(NSIndexPath*)indexPath;

@end
@interface JZDynamicRichTextView : UIView
@property (nonatomic,strong) JZAlbum* album;

@property (nonatomic,strong) id<JZDynamicRichTextViewDelegate> richTextViewDelegate;

+(CGFloat)calculateRichTextHeightWithAlbum:(JZAlbum*)album;
@end
